package com.wva.ffmpeg.utils;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 视频清晰度
 * @Author: hong
 * @Date: 2025/2/21 14:43:17
 */
@AllArgsConstructor
@Getter
public enum Definition {
    /**
     * 240p
     */
    SMOOTH(320, 240),
    /**
     * 480p
     */
    SD(720, 480),
    /**
     * 720p
     */
    HD(1280, 720),
    /**
     * 1080p
     */
    FHD(1920, 1080),
    /**
     * 2k
     */
    TWO_K(2560, 1440),
    /**
     * 4k
     */
    FOUR_K(4096, 2160),

    ;
    private final int imageWidth;
    private final int imageHeight;
}
